package com.ruoyi.user.carinfo.domain;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.common.IdentityVerification;

/**
 * 用户车辆对象 car_info
 * 
 * @author ruoyi
 * @date 2025-09-16
 */
public class CarInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆主键 */
    private Long id;

    /** 用户ID（关联用户表sys_user的user_id） */
    @Excel(name = "用户ID", readConverterExp = "关=联认证中心表identity_verification的主键id")
    private Long uid;

    /** 车型（车辆品牌 + 车辆类型） */
    @Excel(name = "车型", readConverterExp = "车=辆品牌,+=,车=辆类型")
    private String type;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 车辆照片 */
    @Excel(name = "车辆照片")
    private String carImg;

    /** 是否默认(1默认 0非默认) */
    @Excel(name = "是否默认(1默认 0非默认)")
    private Long isdefault;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Long del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }

    public void setCarImg(String carImg) 
    {
        this.carImg = carImg;
    }

    public String getCarImg() 
    {
        return carImg;
    }

    public void setIsdefault(Long isdefault) 
    {
        this.isdefault = isdefault;
    }

    public Long getIsdefault() 
    {
        return isdefault;
    }

    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    public void setIdentityVerification(IdentityVerification identityVerification)
    {
        this.identityVerification = identityVerification;
    }

    public IdentityVerification getIdentityVerification()
    {
        return identityVerification;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("type", getType())
            .append("carNum", getCarNum())
            .append("carImg", getCarImg())
            .append("isdefault", getIsdefault())
            .append("del", getDel())
            .append("identityVerification", getIdentityVerification())
            .toString();
    }
    //关联认证中心表
    private IdentityVerification identityVerification;
}
